package org.example.mall.admin.service.manage;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.mall.admin.model.entity.manage.SysTree;
import org.example.mall.admin.model.vo.manage.SysTreeVo;

import java.util.List;

/**
 * <p>
 * 系统分类树 服务类
 * </p>
 *
 * @author hzq
 * @since 2022-01-08
 */
public interface SysTreeService extends IService<SysTree> {

    Boolean add(SysTree tree);

    Boolean edit(SysTree tree);

    Boolean del(SysTree tree);

    List<Tree<Integer>> selectTree(SysTree tree);

    SysTreeVo getByTreeId(Integer treeId);
}
